ASP.NET MVC: Pass data from one controller to another using TempData
In this article, you will learn how to pass or send data from one controller to another using TempData object in ASP.NET MVC. What is TempData in ASP.NET MVC? TempData is basically a property of the TempDataDictionary class. It stays for subsequent HTTP requests whereas the ViewData and ViewBag objects stay only for the current... » read more